<?php $this->renderPartial('/layouts/header');?>	
<?php 
$controller = Yii::app()->controller->id;  
$action = $this->getAction()->getId(); 
$controlleraction = strtolower($controller.$action);
?>
<div id="breadcrumb" style = "background:#FFFFFF;padding:0px 0px 0px 0px;">
	<div class="breadcrumbs">
	<?php 	
		$this->widget('zii.widgets.CBreadcrumbs', array(
			"homeLink"=>CHtml::link("<i class='pathway'></i>&nbsp;首页","/"),
			'links'=>$this->breadcrumbs,
			'htmlOptions'=>array('class'=>'pull-left'),
		)); 
	?>
	</div>
</div>
<div class="clear"></div>
<div id= "container" >
<div id="left_menu">
	<ul class="menu">
	<? if(in_array($controlleraction,array('siteaboutus','sitegroupintro','sitegroupqua','sitehitewellintro'))){?>
		<li class="<? if($controlleraction == 'siteaboutus'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/aboutus');?>" ><img src = "/images/right.gif" />关于Hitewell</a></li>
		<li class="<? if($controlleraction == 'sitegroupintro'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/groupintro');?>" ><img src = "/images/right.gif" />集团介绍</a></li>
		<li class="<? if($controlleraction == 'zizhiindex'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('zizhi/index');?>" ><img src = "/images/right.gif" />公司资质</a></li>
		<!--li class="<? if($controlleraction == 'sitehitewellintro'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/hitewellintro');?>" >HiteWell公司介绍</a></li-->
	<?}?>
	<? if(in_array($controlleraction,array('sitedianli','siteshihua','siteshuichuli','sitelianyou','sitegangtie','sitezaozhi','sitehedian','siteqita'))){?>
	<li class="<? if($controlleraction == 'sitedianli'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/dianli');?>" ><img src = "/images/right.gif" />电力行业</a></li>
					<li class="<? if($controlleraction == 'siteshihua'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/shihua');?>" ><img src = "/images/right.gif" />石化</a></li>
					<li class="<? if($controlleraction == 'siteshuichuli'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/shuichuli');?>" ><img src = "/images/right.gif" />水处理</a></li>
					<!--li class="<? if($controlleraction == 'sitelianyou'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/lianyou');?>" ><img src = "/images/right.gif" />炼油</a></li-->
					<li class="<? if($controlleraction == 'sitegangtie'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/gangtie');?>" ><img src = "/images/right.gif" />钢铁</a></li>
					<li class="<? if($controlleraction == 'siteqita'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/qita');?>" ><img src = "/images/right.gif" />其它</a></li>
					<!--li class="<? if($controlleraction == 'sitezaozhi'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/zaozhi');?>" ><img src = "/images/right.gif" />造纸、制浆</a></li-->
					<!--li class="<? if($controlleraction == 'sitehedian'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/hedian');?>" ><img src = "/images/right.gif" />核电</a></li-->
	<?}?>
	<? if(in_array($controlleraction,array('siteservicecenter'))){?>
	<li class="<? if($controlleraction == 'siteservicecenter'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/servicecenter');?>" ><img src = "/images/right.gif" />服务中心	</a></li>
	<?}?>
	<? if(in_array($controlleraction,array('sitecontactus'))){?>
	<li class="<? if($controlleraction == 'sitecontactus'){echo 'active';}?>"><a href="<?=Yii::app()->createUrl('site/contactus');?>" ><img src = "/images/right.gif" />联系我们	</a></li>
	<?}?>
	
	</ul>
</div>	
<div class="content" id="content">
<?php echo $content;?>	
</div>
<?php $this->renderPartial('/layouts/footer');?>	